<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title><%= htmlWebpackPlugin.options.title %></title>
  <script src="<%=htmlWebpackPlugin.files.chunks.main.entry %>"></script>
</head>
<body>
    <h2>htmlWebpackPlugin.files</h2>
    <% for(var key in htmlWebpackPlugin.files){ %>
    <%= key %>: <%= JSON.stringify(htmlWebpackPlugin.files[key]) %>
    <% } %>
    <h2>htmlWebpackPlugin.options</h2>
    <% for(var key in htmlWebpackPlugin.options){ %>
    <%= key %>: <%= JSON.stringify(htmlWebpackPlugin.options[key]) %>
    <% } %>
    <!-- 我是注释 -->
    <script type="text/javascript" src="<%=htmlWebpackPlugin.files.chunks.a.entry %>"></script>
</body>
</html>